home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 11
/
Cream of the Crop 11-2.iso
/
extra_2
/
pslc100.zip
/
LF2CRLF.POM
< prev
next >
Wrap
Text File
|
1995-11-07
|
3KB
|
82 lines
;
; -----------------------------------------------------
; LF2CRLF - CONVERT LF-TERMINATED FILES TO CR/LF FORMAT
; -----------------------------------------------------
;
; This Parse-O-Matic script reads LF-terminated text files (such as the ones
; created by Xenix and Unix systems) and changes them to CR/LF files (the
; "generic text" files used in MS-DOS and other operating systems).
;
; LF-terminated means that each line of text ends in a LineFeed character
; (ASCII 10). On the other hand, each line of a CR/LF file ends with
; Carriage-Return and LineFeed (ASCII 13 and ASCII 10, respectively).
;
;
; ------------------------------------
; HOW TO INSTALL AND USE THIS POM FILE
; ------------------------------------
;
; 1. Obtain a copy of the shareware program Parse-O-Matic from one of the
; following sites:
;
; CompuServe -------- PCUTIL/File Utilities, file name PAR.ZIP
; World Wide Web ---- http://www.cam.org/~pinnacl
; Free Files BBS ---- +1-514-345-8654 (2400 bps or faster)
;
; Parse-O-Matic is a generic data tool that runs under DOS, Windows
; (including Win95) or OS/2.
;
; 2. Install Parse-O-Matic and place it in your DOS PATH. (For details
; about the PATH command, see your DOS manual.)
;
; 3. Place this POM file in a convenient directory:
;
; - The same directory as the data you want to convert, or ...
; - A directory in your DOS PATH
;
; 4. At the DOS prompt, enter the command using the following format:
;
; POM LF2CRLF <input-file> <output-file>
;
; For example:
;
; POM LF2CRLF C:\INFILES\XYZ.ABC C:\OUTFILES\OUTPUT.TXT
;
; This will read the file XYZ.ABC and place the output in OUTPUT.TXT
;
;
; ------------------
; SAMPLE APPLICATION
; ------------------
;
; A sample run of this program is included in the batch file LF2CRLF.BAT.
; To run it, makes sure that Parse-O-Matic has been installed (as explained
; earlier), then enter LF2CRLF at the DOS prompt. This will read the input
; file LF2CRLF.INP and generate the output file LF2CRLF.OUT. You can then
; view the output file with a file viewer (such as Pinnacle Software's SEE
; utility), or by loading it into a generic text editor.
;
;
; ------------
; DISTRIBUTION
; ------------
;
; This POM file is Copyright (C) 1995 by Pinnacle Software (Montreal). It
; is freeware, which means that you can distribute complete and unaltered
; copies without royalties.
;
;
; -----------------
; TECHNICAL SUPPORT
; -----------------
;
; If you have any questions about Parse-O-Matic or any of our other products,
; please send email to pinnacl@cam.org, or phone us at +1-514-345-9578.
;
;
;------------------------------------------------------------------------------
;
CHOP 1 100
CHANGE $FLINE #10 #13#10
OUT |{$FLINE}